﻿@model Himall.Model.ImageAdInfo[]

<script src="~/Scripts/jquery.himallUpload.js"></script>
<script type="text/javascript">
    var logo = "@ViewBag.Logo";
    var keyword = "@ViewBag.Keyword";
    var hotkeywords = "@ViewBag.Hotkeywords";
    var setlogoUrl = '@Url.Action("setlogo")';
    var setkeyWords = '@Url.Action("SetKeyWords")';
</script>
<script src="~/Areas/Admin/Scripts/pageSettings-index.js"></script>
    <div class="container">
        <!--<ul class="nav nav-tabs-custom clearfix">
            <strong>首页设置</strong>
            <em class="primary-btn">
                <span class="glyphicon glyphicon-question-sign"></span>
                <div class="primary">
                    <h3>温馨提示：</h3>
                    <span>*</span><p>可通过可视化编辑设置商城首页</p>
                </div>
            </em>
        </ul>-->

        <div class="vis-view-area clearfix">
            <div class="head-area">
                <a class="logo-area" title="logo设置"></a>
                <a class="search-area" title="热门关键字设置"></a>
            </div>
            <div class="nav-area">
            <a href="@Url.Action("management", "Navigation",new {area="Admin"})" title="导航条设置"></a>
            </div>
            <div class="first-screen-area">
            <a href="@Url.Action("HomeCategory", "PageSettings", new { area = "Admin" })" class="categorys-area" title="商城分类设置"></a>
                <div class="scroll-area">
                    <a href="./SlideAd/SlideManagement" class="auto-scroll-area" title="自动轮播设置"></a>
                </div>
                <div class="first-right-area">
                    <a class="article-area imageAdRecommend" title="小banner图一" pic="@ViewBag.ImageAdsTop[ 0 ].ImageUrl" url="@ViewBag.ImageAdsTop[ 0 ].Url" value="14"></a>
                    <a class="article-area imageAdRecommend" title="小banner图二" pic="@ViewBag.ImageAdsTop[ 1 ].ImageUrl" url="@ViewBag.ImageAdsTop[ 1 ].Url" value="15"></a>
				</div>
            </div>
            <div class="hand-goods-area">
            <a class="goods-1-area imageAdRecommend first-child" pic="@(Model.Length>1?Model[0].ImageUrl:"")"
               url="@(Model.Length>1?Model[0].Url:"")" value="1"></a>
            <a class="goods-2-area imageAdRecommend" pic="@(Model.Length>2?Model[1].ImageUrl:"")"
               url="@(Model.Length>2?Model[1].Url:"")" value=" 2"></a>
            <a class="goods-3-area imageAdRecommend" pic="@(Model.Length>3?Model[2].ImageUrl:"")"
               url="@(Model.Length>3?Model[2].Url:"")" value=" 3"></a>
            <a class="goods-4-area imageAdRecommend" pic="@(Model.Length>4?Model[3].ImageUrl:"")"
               url="@(Model.Length>4?Model[3].Url:"")" value=" 4"></a>
            </div>
            <div class="hand-goods-area">

            <a class="goods-5-area imageAdRecommend" pic="@(Model.Length>5?Model[4].ImageUrl:"")"
               url="@(Model.Length>5?Model[4].Url:"")" value=" 5"></a>
            <a class="goods-6-area imageAdRecommend" pic="@(Model.Length>6?Model[5].ImageUrl:"")"
               url="@(Model.Length>6?Model[5].Url:"")" value=" 6"></a>
            <a class="goods-7-area imageAdRecommend" pic="@(Model.Length>7?Model[6].ImageUrl:"")"
               url="@(Model.Length>7?Model[6].Url:"")" value="7"></a>
            <a class="goods-8-area imageAdRecommend last-child" pic="@(Model.Length>8?Model[7].ImageUrl:"")"
               url="@(Model.Length>8?Model[7].Url:"")" value="8"></a>
            </div>
            <div class="floors-area">
            <a title="楼层编辑" href="@Url.Action("HomeFloor", "PageSettings", new { area = "Admin" })"></a>
            </div>
            <div class="service-area">
                <a href="@Url.Action("Management", "Article", new { area = "Admin" })" title="服务编辑"></a>
            </div>
            <div class="bottom-area">
                <a id="pageFootBtn" href="@Url.Action("SetPageFoot", "PageSettings", new { area = "Admin" })" title="页脚信息编辑"></a>
            </div>
        </div>
    </div>

<div class="dialog-form" id="logosetting" style="display:none">
    <div class="form-group upload-img clearfix" id="uploadImg">
    </div>
</div>
<div class="dialog-form" id="keywordsSettting" style="display:none">
    <div class="form-group">
        <label class="label-inline" for="">输入框关键字</label>
        <input class="form-control input-sm" type="text" id="txtkeyword">
    </div>
    <div class="form-group">
        <label class="label-inline" for="">热门关键字</label>
        <input class="form-control input-sm" type="text" id="txthotkeywords">
    </div>
</div>
